Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add release instructions and CD automation #235

Merged
merged 21 commits into from
Mar 31, 2024
Merged

Conversation

siddharth-krishna
Copy link
Collaborator

@siddharth-krishna siddharth-krishna commented Mar 30, 2024

  • Build the distribution package (wheel file) in CI
  • Install from wheel file so that CI tests imitate users who install xl2times from PyPI
  • CD: when releases are published on GitHub, automatically upload to PyPI
  • Add release instruction to README

I'm merging this PR in so that I can test the publish-upon-release action with Test-PyPI. If you have any comments, please leave them here, and I'll resolve them in the next PR that swaps Test-PyPI for real PyPI. Thanks!

Copy link
Collaborator Author

@siddharth-krishna siddharth-krishna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like I can't approve my own PRs. :)

Okay, when you guys approve this, I'll make a test release and check that it publishes on Test-PyPI. Once that works, I'll merge #236 and release to real PyPI.


[project]
name = "xl2times"
version = "0.1.0"
version = "0.1.0-alpha.2"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm bumping the version number to be able to test the publish action when I make this alpha pre-release (after merging this PR). In my next PR I'll set it back to 0.1.0 and publish to the real PyPI.

@olejandro
Copy link
Member

@siddharth-krishna ready!

@siddharth-krishna siddharth-krishna merged commit 0cb35dc into main Mar 31, 2024
2 checks passed
@siddharth-krishna siddharth-krishna deleted the sid/release-ci branch March 31, 2024 14:36
olejandro pushed a commit that referenced this pull request Mar 31, 2024
First release.

Follows #235, this resets the version number to the version we want to
publish to PyPI and changes from Test-PyPI to real PyPI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants